import java.util.Scanner;

public class Ave {
    public static void main(String[] args) {
    	System.out.print("Enter the number:");
        Scanner scanner = new Scanner(System.in);
        double sum = 0;
        int count = 0;
        int number;
        while(true) {
            number = scanner.nextInt();
            if(number == -1) {
                break;
            }
            sum += number;
            count++;
        }
        System.out.printf("Ave %.2f%n", sum / count);
    }
}
